package com.zhang.sys;

/**
 * SysUserRole entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysUserRole implements java.io.Serializable {

	// Fields

	private SysUserRoleId id;
	private String roleId;

	// Constructors

	/** default constructor */
	public SysUserRole() {
	}

	/** minimal constructor */
	public SysUserRole(SysUserRoleId id) {
		this.id = id;
	}

	/** full constructor */
	public SysUserRole(SysUserRoleId id, String roleId) {
		this.id = id;
		this.roleId = roleId;
	}

	// Property accessors

	public SysUserRoleId getId() {
		return this.id;
	}

	public void setId(SysUserRoleId id) {
		this.id = id;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

}